SunCalc class

Constructors

SunCalc()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

addTime(num angle, String riseName, String setName) → void
getMoonIllumination(DateTime date) Map<String, num>
getMoonPosition(DateTime date, num lat, num lng) Map<String, num>
getMoonTimes(DateTime date, num lat, num lng, [bool inUtc = true]) Map
getPosition(DateTime date, num lat, num lng) Map<String, num>
getSunPosition(DateTime date, num lat, num lng) Map<String, num>
getTimes(DateTime date, num lat, num lng) Future<Map<String, DateTime>>