KinshipOption class

KinshipOption Kinship option 计算参数

Constructors

KinshipOption({String text = '', int sex = -1, String type = 'default', bool reverse = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
reverse bool
称呼方式:true对方称呼我,false我称呼对方
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sex int
自己的性别,0 女性, 1 男性
final
text String
输入文本(称呼或关系链)
final
type String
计算类型:'default' 算称谓,'chain' 算关系(此时 'reverse' 无效)
final

Methods

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
The equality operator.
inherited