fromJson method Null safety

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

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

T fromJson(Map<String, dynamic> json) {
  throw UnimplementedError();
}