decode static method

BatchResultMsg decode(
  1. Object result
)

Implementation

static BatchResultMsg decode(Object result) {
  result as List<Object?>;
  return BatchResultMsg(
    reports: (result[0]! as Map<Object?, Object?>)
        .cast<String, CheckReportMsg>(),
    accessibilityServices: (result[1]! as List<Object?>)
        .cast<AccessibilityServiceMsg>(),
    notificationListeners: (result[2]! as List<Object?>)
        .cast<NotificationListenerMsg>(),
    installedPackages: (result[3]! as List<Object?>).cast<String>(),
    failedLists: (result[4]! as List<Object?>).cast<String>(),
    signing: result[5] as SigningInfoMsg?,
  );
}