addType static method

void addType(
  1. PgDataType? func(
    1. Type cls
    )
)

Add custom types.

Example: ApiUuid as uuid. List of ApiUuid as textArray. func return type for cls or null.

Implementation

static void addType(PgDataType? Function(Type cls) func) =>
    _customTypes.add(func);