toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (condition != null) 'condition': condition!,
      if (containerId != null) 'containerId': containerId!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (name != null) 'name': name!,
      if (notes != null) 'notes': notes!,
      if (ruleId != null) 'ruleId': ruleId!,
    };