GetTemplateResponse.fromJson constructor
GetTemplateResponse.fromJson(
- Map _json
Implementation
GetTemplateResponse.fromJson(core.Map _json)
: this(
metadata: _json.containsKey('metadata')
? TemplateMetadata.fromJson(
_json['metadata'] as core.Map<core.String, core.dynamic>)
: null,
runtimeMetadata: _json.containsKey('runtimeMetadata')
? RuntimeMetadata.fromJson(_json['runtimeMetadata']
as core.Map<core.String, core.dynamic>)
: null,
status: _json.containsKey('status')
? Status.fromJson(
_json['status'] as core.Map<core.String, core.dynamic>)
: null,
templateType: _json.containsKey('templateType')
? _json['templateType'] as core.String
: null,
);