CustomTemplate.fromJson constructor

CustomTemplate.fromJson(
  1. Map json_
)

Implementation

CustomTemplate.fromJson(core.Map json_)
  : this(
      accountId: json_['accountId'] as core.String?,
      containerId: json_['containerId'] as core.String?,
      fingerprint: json_['fingerprint'] as core.String?,
      galleryReference: json_.containsKey('galleryReference')
          ? GalleryReference.fromJson(
              json_['galleryReference']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      name: json_['name'] as core.String?,
      path: json_['path'] as core.String?,
      tagManagerUrl: json_['tagManagerUrl'] as core.String?,
      templateData: json_['templateData'] as core.String?,
      templateId: json_['templateId'] as core.String?,
      workspaceId: json_['workspaceId'] as core.String?,
    );