toJson method

  1. @override
Map<String, dynamic> toJson()
override

Returns a representation of this object as a JSON object.

Implementation

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