Entity.fromJson constructor

Entity.fromJson(
  1. Map json_
)

Implementation

Entity.fromJson(core.Map json_)
    : this(
        builtInVariable: json_.containsKey('builtInVariable')
            ? BuiltInVariable.fromJson(json_['builtInVariable']
                as core.Map<core.String, core.dynamic>)
            : null,
        changeStatus: json_.containsKey('changeStatus')
            ? json_['changeStatus'] as core.String
            : null,
        client: json_.containsKey('client')
            ? Client.fromJson(
                json_['client'] as core.Map<core.String, core.dynamic>)
            : null,
        customTemplate: json_.containsKey('customTemplate')
            ? CustomTemplate.fromJson(json_['customTemplate']
                as core.Map<core.String, core.dynamic>)
            : null,
        folder: json_.containsKey('folder')
            ? Folder.fromJson(
                json_['folder'] as core.Map<core.String, core.dynamic>)
            : null,
        gtagConfig: json_.containsKey('gtagConfig')
            ? GtagConfig.fromJson(
                json_['gtagConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        tag: json_.containsKey('tag')
            ? Tag.fromJson(
                json_['tag'] as core.Map<core.String, core.dynamic>)
            : null,
        transformation: json_.containsKey('transformation')
            ? Transformation.fromJson(json_['transformation']
                as core.Map<core.String, core.dynamic>)
            : null,
        trigger: json_.containsKey('trigger')
            ? Trigger.fromJson(
                json_['trigger'] as core.Map<core.String, core.dynamic>)
            : null,
        variable: json_.containsKey('variable')
            ? Variable.fromJson(
                json_['variable'] as core.Map<core.String, core.dynamic>)
            : null,
        zone: json_.containsKey('zone')
            ? Zone.fromJson(
                json_['zone'] as core.Map<core.String, core.dynamic>)
            : null,
      );