See https://rtcweb-wg.github.io/jsep/#rfc.section.4.1.8.
@JsonKey(name: 'type') String get type => throw _privateConstructorUsedError;