File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
discoveryapis_commons/lib/src
discoveryapis_generator/lib/src
googleapis_auth/lib/src/crypto Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ class Media {
2727 }
2828}
2929
30- // ignore: avoid_classes_with_only_static_members
3130/// Represents options for uploading a [Media] .
32- class UploadOptions {
31+ // ignore: avoid_classes_with_only_static_members
32+ final class UploadOptions {
3333 /// Use either simple uploads (only media) or multipart for media+metadata
3434 static const UploadOptions defaultOptions = UploadOptions ();
3535
@@ -40,7 +40,7 @@ class UploadOptions {
4040}
4141
4242/// Specifies options for resumable uploads.
43- class ResumableUploadOptions extends UploadOptions {
43+ final class ResumableUploadOptions extends UploadOptions {
4444 static Duration ? exponentialBackoff (int failedAttempts) {
4545 // Do not retry more than 5 times.
4646 if (failedAttempts > 5 ) return null ;
Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ class Pubspec {
2323 this .repository,
2424 Map <String , String >? extraDevDependencies,
2525 this .resolution,
26- }) : devDependencies = {
27- ..._defaultDevDependencies,
28- if (extraDevDependencies != null ) ...extraDevDependencies,
29- };
26+ }) : devDependencies = {..._defaultDevDependencies, ...? extraDevDependencies};
3027
3128 String get sdkConstraint => targetDartVersionConstraint;
3229
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ final class RSAPrivateKey {
4848 );
4949}
5050
51- // ignore: avoid_classes_with_only_static_members
5251/// Provides a [rawSign] method for signing messages with a [RSAPrivateKey] .
52+ // ignore: avoid_classes_with_only_static_members
5353abstract final class RSAAlgorithm {
5454 /// Performs the private key operation (signing) on [bytes] with the private
5555 /// [key] .
You can’t perform that action at this time.
0 commit comments