toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (containerId != null) 'containerId': containerId!,
      if (domainName != null) 'domainName': domainName!,
      if (enabledBuiltInVariable != null)
        'enabledBuiltInVariable': enabledBuiltInVariable!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (publicId != null) 'publicId': publicId!,
      if (timeZoneCountryId != null) 'timeZoneCountryId': timeZoneCountryId!,
      if (timeZoneId != null) 'timeZoneId': timeZoneId!,
      if (usageContext != null) 'usageContext': usageContext!,
    };