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