codecFor method

CodecRepo codecFor (
  1. {String mimeType}
)

Returns CodecRepo for the requested mimeType. If mimeType is null, the mime type of request is used.

Implementation

CodecRepo codecFor({String mimeType}) =>
    _serializers[mimeType ?? this.mimeType];