VolumeDevice.fromJson constructor

VolumeDevice.fromJson(
  1. Map<String, dynamic> json
)

Creates a VolumeDevice from JSON data.

Implementation

VolumeDevice.fromJson(Map<String, dynamic> json)
    : this(
        devicePath: json['devicePath'],
        name: json['name'],
      );