tryToCalculateBatteryDecommissionThreshold static method
Implementation
static int? tryToCalculateBatteryDecommissionThreshold(Map<String, dynamic> json) =>
switch (json['deviceManufacturer']) { 'ZEBRA' => switch (json['batteryType']) { 200 || 201 || 206 => 400, _ => null}, _ => null };