toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (description != null) 'description': description!,
      if (labelId != null) 'labelId': labelId!,
      if (labelType != null) 'labelType': labelType!,
      if (name != null) 'name': name!,
    };