sandboxItemSetVerificationStatusRequestVerificationStatusListFromJson function

List<SandboxItemSetVerificationStatusRequestVerificationStatus> sandboxItemSetVerificationStatusRequestVerificationStatusListFromJson(
  1. List? sandboxItemSetVerificationStatusRequestVerificationStatus, [
  2. List<SandboxItemSetVerificationStatusRequestVerificationStatus>? defaultValue
])

Implementation

List<enums.SandboxItemSetVerificationStatusRequestVerificationStatus>
    sandboxItemSetVerificationStatusRequestVerificationStatusListFromJson(
  List? sandboxItemSetVerificationStatusRequestVerificationStatus, [
  List<enums.SandboxItemSetVerificationStatusRequestVerificationStatus>?
      defaultValue,
]) {
  if (sandboxItemSetVerificationStatusRequestVerificationStatus == null) {
    return defaultValue ?? [];
  }

  return sandboxItemSetVerificationStatusRequestVerificationStatus
      .map((e) =>
          sandboxItemSetVerificationStatusRequestVerificationStatusFromJson(
              e.toString()))
      .toList();
}