toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final from = this.from;
  final to = this.to;
  final when = this.when;
  return {'from': ?from, 'to': ?to, 'when': ?when};
}