CallEvent.fromMap constructor

CallEvent.fromMap(
  1. CallAction action,
  2. 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'],
  );
}