homeownerConsentActionV2ListToJson function

List<String> homeownerConsentActionV2ListToJson(
  1. List<HomeownerConsentActionV2>? homeownerConsentActionV2
)

Implementation

List<String> homeownerConsentActionV2ListToJson(
    List<enums.HomeownerConsentActionV2>? homeownerConsentActionV2) {
  if (homeownerConsentActionV2 == null) {
    return [];
  }

  return homeownerConsentActionV2.map((e) => e.value!).toList();
}