formatMediaDevice method
Implementation
Future<HyperDeckRestResponse> formatMediaDevice(String deviceName,
{required String key, required String filesystem, String? volume}) =>
put('/media/devices/${_segment(deviceName)}/doformat', {
'key': key,
'filesystem': filesystem,
if (volume != null) 'volume': volume,
});