Barrier.fromMap constructor

Barrier.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Barrier.fromMap(Map<String, dynamic> json) => Barrier(
      barrierLabel: json[_Param.barrierLabel],
      barrierStatus: BarrierStatus.fromMap(json[_Param.barrierStatus]),
    );