RationalSerializer class abstract

Implementers

Constructors

RationalSerializer()
RationalSerializer.decimal({int? fractionDigits})
factory
RationalSerializer.double()
factory
RationalSerializer.integer({int fractionDigits})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types Iterable<Type>
The Types that can be serialized.
final
wireName String
The wire name of the serializable type. For most classes, the class name. For primitives and collections a lower-case name is defined as part of the built_json wire format.
final

Methods

deserialize(Serializers serializers, Object serialized, {FullType specifiedType = FullType.unspecified}) Rational
Deserializes serialized.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(Serializers serializers, Rational object, {FullType specifiedType = FullType.unspecified}) Object
Serializes object.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited