DistanceUnit class

A class to define units

Constructors

DistanceUnit({required String title, required String identifier, required double meterRatio})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier of the unit
final
meterRatio double
The ratio of the unit to meters
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The title of the unit
final

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