toJson method

Map<String, dynamic> toJson()

Serialize to json

Implementation

Map<String, dynamic> toJson() => _$DeviceToJson(this);