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(double angle, {required String riseName, required String setName}) → void
getMoonIllumination(DateTime date) Illumination
getMoonPosition(DateTime date, {required double lat, required double lng}) Position
getMoonTimes(DateTime date, {required double lat, required double lng, bool inUtc = true}) MoonTimes
getSunPosition(DateTime date, {required double lat, required double lng}) Position
getTimes(DateTime date, {required double lat, required double lng, double height = 0.0}) SunTimes