fromJson abstract method

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

Converts a JSON map to a model instance of type T

Implementation

T fromJson(Map<String, dynamic> json);