toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {if (send != null) 'send': send, if (receive != null) 'receive': receive, 'list': list};