Model.fromJson constructor

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

Model from JSON factory constructor.

Implementation

factory Model.fromJson(Map<String, dynamic> json) =>
    _$ModelFromJson(json)..extra = json;