fromJson static method

NetworkState? fromJson(
  1. dynamic jsonString
)

Implementation

static NetworkState? fromJson(jsonString) {
  return serializers.deserializeWith(
      NetworkState.serializer, json.decode(jsonString));
}