SignedUrlResult class sealed

Represents a per-item result from StorageFileApi.createSignedUrlsResult.

Use exhaustive pattern matching to handle both outcomes:

for (final result in results) {
  switch (result) {
    case SignedUrlSuccess(:final signedUrl):
      print('URL: $signedUrl');
    case SignedUrlFailure(:final error):
      print('Missing: $error');
  }
}

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
The requested file path.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited