Operation class Null safety
This resource represents a long-running operation that is the result of a network API call.
Constructors
Properties
- done ↔ bool?
-
If the value is
false
, it means the operation is still in progress.read / write - error ↔ Status?
-
The error result of the operation in case of failure or cancellation.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
metadata
↔ Map<
String, Object?> ? -
{
createTime
: The time the operation was created.read / write - name ↔ String?
-
The server-assigned name, which is only unique within the same service
that originally returns it.
read / write
-
response
↔ Map<
String, Object?> ? -
The normal response of the operation in case of success.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited