isNullableType function

bool isNullableType(
  1. String type
)

Implementation

bool isNullableType(String type) {
  return type.endsWith("?");
}