pgEnum static method

String pgEnum(
  1. String pgEnumName,
  2. String dartTypeName
)

PG_enum(<pgEnumName>)-<DartTypeName>. The parens carry the Postgres enum type name (for DBML); the suffix is the Dart class.

Implementation

static String pgEnum(String pgEnumName, String dartTypeName) =>
    'PG_enum($pgEnumName)-$dartTypeName';