toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'vmUri': vmUri.toString(),
      if (platform != null) 'platform': platform!.name,
      if (deviceId != null) 'device': deviceId,
      if (deviceName != null) 'deviceName': deviceName,
      if (label != null) 'app': label,
      if (bundleId != null) 'bundleId': bundleId,
    };