toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (builtInVariable != null) 'builtInVariable': builtInVariable!,
      if (client != null) 'client': client!,
      if (container != null) 'container': container!,
      if (containerId != null) 'containerId': containerId!,
      if (containerVersionId != null)
        'containerVersionId': containerVersionId!,
      if (customTemplate != null) 'customTemplate': customTemplate!,
      if (deleted != null) 'deleted': deleted!,
      if (description != null) 'description': description!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (folder != null) 'folder': folder!,
      if (gtagConfig != null) 'gtagConfig': gtagConfig!,
      if (name != null) 'name': name!,
      if (path != null) 'path': path!,
      if (tag != null) 'tag': tag!,
      if (tagManagerUrl != null) 'tagManagerUrl': tagManagerUrl!,
      if (transformation != null) 'transformation': transformation!,
      if (trigger != null) 'trigger': trigger!,
      if (variable != null) 'variable': variable!,
      if (zone != null) 'zone': zone!,
    };