toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (container != null) 'container': container!,
      if (containerId != null) 'containerId': containerId!,
      if (containerVersionId != null)
        'containerVersionId': containerVersionId!,
      if (deleted != null) 'deleted': deleted!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (folder != null) 'folder': folder!,
      if (macro != null) 'macro': macro!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (rule != null) 'rule': rule!,
      if (tag != null) 'tag': tag!,
      if (trigger != null) 'trigger': trigger!,
      if (variable != null) 'variable': variable!,
    };