toJson method
Returns a Map containing this WebStoredCall data.
Implementation
Map<String, dynamic> toJson() {
return {
'chatId': chatId.val,
'call': call?.toJson(),
'creds': creds?.val,
'deviceId': deviceId?.val,
'state': state.index,
};
}