BluetoothStateChanged.fromMap constructor

BluetoothStateChanged.fromMap(
  1. Map map
)

Implementation

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