FieldInfo constructor

FieldInfo(
  1. String type,
  2. String name,
  3. String valueStr,
  4. bool isEnum,
)

Implementation

FieldInfo(this.type, this.name, this.valueStr, this.isEnum)
    : assert(
          isEnum ||
              type == "bool" ||
              type == "int" ||
              type == "String" ||
              type == "double" ||
              type == "StringList",
          "$type is not supported. Supported data types: ${_supportedTypes.join(", ")}");