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