FunctionalStar class
- Inheritance
-
- Object
- IFunctionalStar
- FunctionalStar
Constructors
- FunctionalStar.new(Star data)
Properties
- brightness ↔ BrightnessEnum?
-
星耀亮度,若没有亮度数据则此字段为
空字符串
或者undefined
getter/setter pairoverride - hashCode → int
-
The hash code for this object.
no setterinherited
- mutagen ↔ Mutagen?
-
四化,若未产生四化则此字段为
undefined
getter/setter pairoverride - name ↔ StarName
-
星耀名字
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ Scope
-
作用范围(本命盘 | 大限盘 | 流年盘)
getter/setter pairoverride
- type ↔ StarType
-
星耀类型(主星 | 吉星 | 煞星 | 杂耀 | 桃花星 | 解神 | 禄存 | 天马)
getter/setter pairoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
oppositePalace(
) → IFunctionalPalace? -
获取当前星耀的对宫
override
-
palace(
) → IFunctionalPalace? -
获取星耀所在宫位
override
-
setAstrolabe(
IFunctionalAstrolabe astrolabe) → void -
设置当前星耀所在星盘
override
-
setPalace(
IFunctionalPalace palace) → void -
设置当前星耀所在宫位
override
-
surroundedPalaces(
) → IFunctionlSurpalaces? -
获取当前星耀的三方四正宫位
override
-
toString(
) → String -
A string representation of this object.
override
-
withBrightness(
List< BrightnessEnum> brightness) → bool -
判断星耀是否是传入的亮度,也可以传入多个亮度,只要匹配到一个亮度就会返回true
override
-
withMutagen(
List< Mutagen> mutagen) → bool -
判断星耀是否产生了四化
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited