OutOfBandPayloadError.fromJson constructor

OutOfBandPayloadError.fromJson(
  1. Map<String, dynamic> json
)

Alternate constructor to create an OutOfBandPayloadError from json.

Params:

  • json: contains the source for instance creation.

Implementation

factory OutOfBandPayloadError.fromJson(Map<String, dynamic> json) {
  return const OutOfBandPayloadErrorConverter().fromJson(json);
}