toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      <core.String, core.Object>{};
  this.forEach((core.String key, value) {
    _json[key] = value;
  });
  return _json;
}