IllegalInstantiationError constructor

IllegalInstantiationError({
  1. String? message,
  2. Type? runtimeType,
})

Implementation

IllegalInstantiationError({String? message, Type? runtimeType}) :
    this.message = message ?? '`$runtimeType` cannot be instantated directly, but only indirectly via the UiFactory';