DeleteResponseResult class

Response for a delete operation.

Annotations
  • @immutable

Constructors

DeleteResponseResult({required String id, required String object, required bool deleted})
Creates a DeleteResponseResult.
const
DeleteResponseResult.fromJson(Map<String, dynamic> json)
Creates a DeleteResponseResult from JSON.
factory

Properties

deleted bool
Whether the deletion was successful.
final
hashCode int
The hash code for this object.
no setteroverride
id String
The ID of the deleted response.
final
object String
The object type, always 'response.deleted'.
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
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