depositSwitchAltCreateRequestCountryCodeListFromJson function

List<DepositSwitchAltCreateRequestCountryCode> depositSwitchAltCreateRequestCountryCodeListFromJson(
  1. List? depositSwitchAltCreateRequestCountryCode
)

Implementation

List<enums.DepositSwitchAltCreateRequestCountryCode>
    depositSwitchAltCreateRequestCountryCodeListFromJson(
        List? depositSwitchAltCreateRequestCountryCode) {
  if (depositSwitchAltCreateRequestCountryCode == null) {
    return [];
  }

  return depositSwitchAltCreateRequestCountryCode
      .map(
          (e) => depositSwitchAltCreateRequestCountryCodeFromJson(e.toString()))
      .toList();
}