StreamingMount.fromJson constructor Null safety

StreamingMount.fromJson(
  1. dynamic json
)

Implementation

StreamingMount.fromJson(dynamic json) {
  streaming = json['streaming'];
  create = json['create'];
  permanent = json['permanent'];
  stream = json['stream'] != null
      ? StreamingPluginStream.fromJson(json['stream'])
      : null;
}