toJson method

Map<String, dynamic> toJson()

Returns a representation of this object as a JSON object.

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    'name': _name,
    'signed': signed,
    'decimal': decimal,
  };
}