toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _data = <String, dynamic>{};
  _data['address'] = address;
  _data['apy'] = apy;
  return _data;
}