fromJson method Null safety

  1. @override
FidoErrorCode fromJson(
  1. Map<String, dynamic> json
)

Returns a value of the type you specify, deserialized from a JSON object.

Params:

  • json: contains the source for instance creation.

Returns: a value of the specified type. See json_serializable

Implementation

@override
FidoErrorCode fromJson(Map<String, dynamic> json) =>
    FidoErrorCode.fromJson(json);