DeletedSessionResource class

Confirmation of resource deletion.

Annotations
  • @immutable

Constructors

DeletedSessionResource({required String id, String type = 'session_resource_deleted'})
Creates a DeletedSessionResource.
const
DeletedSessionResource.fromJson(Map<String, dynamic> json)
Creates a DeletedSessionResource from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier of the deleted resource.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Object type. Always "session_resource_deleted".
final

Methods

copyWith({String? id, String? type}) DeletedSessionResource
Creates a copy with replaced values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

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