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