getConstellation property
- @Doc(message: '根据日期,返回星座')
String
getConstellation
Implementation
@Doc(message: '根据日期,返回星座')
String get getConstellation {
final birthday = DateTime.fromMillisecondsSinceEpoch(this);
int month = birthday.month;
int day = birthday.day;
return MyIntUtil().getConstellationWith(month, day);
}