toMap method

Map<String, dynamic> toMap ()
override

Implementation

Map<String, dynamic> toMap() {
  Map<String, dynamic> map = {};
  if (_abi_version_spaced != null) {
    map['ABI version'] = _abi_version_spaced;
  }
  if (_abi_version != null) {
    map['abi_version'] = _abi_version;
  }
  if (_header != null) {
    map['header'] = _header;
  }
  if (_functions != null) {
    map['functions'] = _functions;
  }
  if (_events != null) {
    map['events'] = _events;
  }
  if (_data != null) {
    map['data'] = _data;
  }
  return map;
}