homeownerConsentActionV2NullableListFromJson function

List<HomeownerConsentActionV2>? homeownerConsentActionV2NullableListFromJson(
  1. List? homeownerConsentActionV2, [
  2. List<HomeownerConsentActionV2>? defaultValue
])

Implementation

List<enums.HomeownerConsentActionV2>?
    homeownerConsentActionV2NullableListFromJson(
  List? homeownerConsentActionV2, [
  List<enums.HomeownerConsentActionV2>? defaultValue,
]) {
  if (homeownerConsentActionV2 == null) {
    return defaultValue;
  }

  return homeownerConsentActionV2
      .map((e) => homeownerConsentActionV2FromJson(e.toString()))
      .toList();
}