toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customerId != null) 'customerId': customerId!,
      if (entityId != null) 'entityId': entityId!,
      if (profileId != null) 'profileId': profileId!,
      if (type != null) 'type': type!,
      if (userEmail != null) 'userEmail': userEmail!,
    };