B2COperationResult constructor

B2COperationResult(
  1. String tag,
  2. B2COperationSource source,
  3. B2COperationState reason, {
  4. Object? data,
})

Default constructor.

The tag is a string generated from the AzureB2C plugin and is used to differentiate operation in the callback functions. The source argument is a B2COperationSource enum that express which method has generated the callback, and reason is a B2COperationState enum that express the result of the operation.

Implementation

B2COperationResult(this.tag, this.source, this.reason, {this.data});