isStringType function

bool isStringType(
  1. String type
)

Implementation

bool isStringType(String type) {
  return type == "String" || type == "String?";
}