OutOfBandPayloadDeviceProtectionError.fromJson constructor Null safety

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

Alternate constructor that creates an OutOfBandPayloadDeviceProtectionError from a json.

Params:

  • json: contains the source for instance creation.

Implementation

factory OutOfBandPayloadDeviceProtectionError.fromJson(
  Map<String, dynamic> json,
) {
  return OutOfBandPayloadDeviceProtectionErrorImpl.fromJson(json);
}