AudioMode.fromMap constructor

AudioMode.fromMap(
  1. dynamic map
)

Implementation

factory AudioMode.fromMap(dynamic map) {
  if (map == null) throw ArgumentError('The type of action map is null');
  return AudioMode(
    mode: map['mode'],
    isSelectedValue: map['isSelectedValue'],
  );
}