overrideTestPatternCustomGradientOrientationGetSetNullableListFromJson function

List<OverrideTestPatternCustomGradientOrientationGetSet>? overrideTestPatternCustomGradientOrientationGetSetNullableListFromJson(
  1. List? overrideTestPatternCustomGradientOrientationGetSet, [
  2. List<OverrideTestPatternCustomGradientOrientationGetSet>? defaultValue
])

Implementation

List<enums.OverrideTestPatternCustomGradientOrientationGetSet>?
    overrideTestPatternCustomGradientOrientationGetSetNullableListFromJson(
  List? overrideTestPatternCustomGradientOrientationGetSet, [
  List<enums.OverrideTestPatternCustomGradientOrientationGetSet>? defaultValue,
]) {
  if (overrideTestPatternCustomGradientOrientationGetSet == null) {
    return defaultValue;
  }

  return overrideTestPatternCustomGradientOrientationGetSet
      .map((e) => overrideTestPatternCustomGradientOrientationGetSetFromJson(
          e.toString()))
      .toList();
}