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,
);