maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult greenlight(
    1. GreenlightNodeConfig config
    )?,
  2. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(GreenlightNodeConfig config)? greenlight,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;