NearbyDeviceMapper class abstract interface

Converter for devices from JSON to models.

Implementers

Constructors

NearbyDeviceMapper()

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

mapToDevice(dynamic value) NearbyDevice?
Converts JSON to a NearbyDevice.
mapToDeviceList(dynamic value) List<NearbyDevice>
Converts JSON to a list of NearbyDevice.
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 Properties

instance NearbyDeviceMapper
Get the mapper instance for the current platform.
no setter