HoldEvent.fromMap constructor

HoldEvent.fromMap(
  1. Map<String, dynamic> body
)

Implementation

factory HoldEvent.fromMap(Map<String, dynamic> body) {
  return HoldEvent(
    uuid: body['uuid'],
    hold: body['hold'],
  );
}