@JsonKey(unknownEnumValue: RestMode.unknown) RestMode get mode => throw _privateConstructorUsedError;