TimeZone class
Constructors
- TimeZone.new({required String name, required int offset, required DateTime currentTime, required bool isDst, required int dstSavings})
-
const
- TimeZone.fromJson(String source)
-
factory
-
TimeZone.fromMap(Map<
String, dynamic> map) -
factory
Properties
- currentTime → DateTime
-
final
- dstSavings → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isDst → bool
-
final
- name → String
-
final
- offset → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? name, int? offset, DateTime? currentTime, bool? isDst, int? dstSavings}) → TimeZone -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override