B2COperationResult class

Operation result used in AzureB2C callbacks.

Constructors

B2COperationResult(String tag, B2COperationSource source, B2COperationState reason, {Object? data})
Default constructor.
B2COperationResult.fromJson(Map<String, dynamic> data)
Creates a B2COperationResult from a JSON map.

Properties

data Object?
Possible data payload in the callback for possible extensions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
reason B2COperationState
Reason why the callback was launched. In this field is stored the state of the async operation that has emitted the callback.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source B2COperationSource
Source of the operation.
getter/setter pair
tag String
A tag used to differentiate operations. AzureB2C plugin put a GUID (i.e. unique id) different for each operation. Tags are returned from AzureB2C plugin for each asynchronous operation.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Returns a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited