isDynamic static method

bool isDynamic(
  1. String type
)

Is a type dynamic?

Implementation

static bool isDynamic(String type) {
  // FIXME: handle all types? I don't think anything is missing now
  return (type == 'string') ||
      (type == 'bytes') ||
      (parseTypeArray(type) == 'dynamic');
}