toJson method

Map<String, dynamic> toJson()

Implementation

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