name property

  1. @override
String get name
override

Name of the Codec.

This may be used as part of the Content-Type within HTTP. For example, with gRPC this is the content subtype, so "application/grpc+proto" will map to the Codec with name "proto".

Names must not be empty.

Implementation

@override
String get name => "json";