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 (callerType != null) {
    _json["callerType"] = callerType;
  }
  if (email != null) {
    _json["email"] = email;
  }
  if (key != null) {
    _json["key"] = key;
  }
  if (profileId != null) {
    _json["profileId"] = profileId;
  }
  return _json;
}