toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (metadata != null) 'metadata': metadata!,
if (runtimeMetadata != null) 'runtimeMetadata': runtimeMetadata!,
if (status != null) 'status': status!,
if (templateType != null) 'templateType': templateType!,
};