fromJson method

T fromJson(
  1. dynamic json
)

json 转换为对应的 T 类型

Implementation

T fromJson(dynamic json) => json as T;