CallEvent.fromMap constructor
CallEvent.fromMap(
- CallAction action,
- Map<
String, dynamic> body
Implementation
factory CallEvent.fromMap(CallAction action, Map<String, dynamic> body) {
return CallEvent(
action: action,
uuid: body['uuid'],
name: body['name'],
handleType: body['handleType'],
avatar: body['avatar'],
);
}