toString method
A string representation of this object.
Some classes have a default textual representation,
often paired with a static parse function (like int.parse).
These classes will provide the textual representation as
their string representation.
Other classes have no meaningful textual representation
that a program will care about.
Such classes will typically override toString to provide
useful information when inspecting the object,
mainly for debugging or logging.
Implementation
@override
String toString() {
return
'version: \n$version\n'
'manufacturer: $manufacturer, \n'
'brand: $brand, \n'
'model: $model, \n'
'board: $board, \n'
'bootloader: $bootloader, \n'
'device: $device, \n'
'display: $display, \n'
'fingerprint: $fingerprint, \n'
'hardware: $hardware, \n'
'host: $host, \n'
'id: $id, \n'
'product: $product, \n'
'supported32BitAbis: $supported32BitAbis, \n'
'supported64BitAbis: $supported64BitAbis, \n'
'supportedAbis: $supportedAbis, \n'
'tags: $tags, \n'
'type: $type, \n'
'isPhysicalDevice: $isPhysicalDevice, \n'
'serialNumber: $serialNumber, \n'
'isLowRamDevice: $isLowRamDevice\n'
'systemFeatures: $systemFeatures'
;
}