Listen.fromMap constructor

Listen.fromMap(
  1. Map map
)

Implementation

factory Listen.fromMap(Map<dynamic, dynamic> map) {
  final String type = map['type'];
  return Listen(type);
}