toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'ts': ts,
      'channel': channel,
      'message': message != null ? message!.toMap() : null,
      'success': success,
    };