toJson method

Object? toJson()

Implementation

Object? toJson() {
  return serializers.serializeWith(DeviceInfo.serializer, this);
}