fromString static method

DeviceInfo? fromString(
  1. String jsonString
)

Implementation

static DeviceInfo? fromString(String jsonString) {
  DeviceInfo? result = serializers.deserializeWith(DeviceInfo.serializer, json.decode(jsonString));
  return result;
}