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 (regionCode != null) {
    _json["regionCode"] = regionCode;
  }
  if (userId != null) {
    _json["userId"] = userId;
  }
  return _json;
}