toMap method

Map<String, dynamic> toMap ()
override

Implementation

Map<String, dynamic> toMap() {
  Map<String, dynamic> map = {};
  if (_expire != null) {
    map['expire'] = _expire;
  }
  if (_time != null) {
    map['time'] = _time;
  }
  if (_pubkey != null) {
    map['pubkey'] = _pubkey;
  }
  return map;
}