PrizeModel class

大转盘中的奖品

Constructors

PrizeModel({int? turnCode, String? name, int? per})
PrizeModel.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
奖品名称
getter/setter pair
per int?
概率
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
turnCode int?
奖品code,唯一标识
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited