Resource.fromJson constructor

Resource.fromJson(
  1. Map json_
)

Implementation

Resource.fromJson(core.Map json_)
  : this(
      pathTemplate: json_['pathTemplate'] as core.String?,
      type: json_['type'] as core.String?,
    );