toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (customerId != null) {
    _json["customerId"] = customerId;
  }
  if (entityId != null) {
    _json["entityId"] = entityId;
  }
  if (profileId != null) {
    _json["profileId"] = profileId;
  }
  if (type != null) {
    _json["type"] = type;
  }
  if (userEmail != null) {
    _json["userEmail"] = userEmail;
  }
  return _json;
}