LotsConfig class final
抽签配置;签与选奖权重一一对应。
- Annotations
Constructors
-
LotsConfig({List<
LotsStick> sticks = const [], LotsOptions options = const LotsOptions(), LotsStyle style = const LotsStyle()}) -
创建配置;列表在使用期间不可修改。
const
Properties
Methods
-
copyWith(
{List< LotsStick> ? sticks, LotsOptions? options, LotsStyle? style}) → LotsConfig - 返回只替换非空参数的副本。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
按全部字段比较值。
override