Sink.fromJson constructor

Sink.fromJson(
  1. Map _json
)

Implementation

Sink.fromJson(core.Map _json)
    : this(
        codec: _json.containsKey('codec')
            ? _json['codec'] as core.Map<core.String, core.dynamic>
            : null,
        spec: _json.containsKey('spec')
            ? _json['spec'] as core.Map<core.String, core.dynamic>
            : null,
      );