IDSResponseHandler class

IDSResponseHandler

Constructors

IDSResponseHandler.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

asJsonArray(dynamic response) List
Converts response to JSON array safely, else returns an empty array.
asJsonObject(dynamic response) Map<String, dynamic>
Converts response to JSON object safely, else returns an empty object.
asString(dynamic response) String
Returns response as string safely.
isJsonArray(dynamic response) bool
Checks if the response is a JSON array.
isJsonObject(dynamic response) bool
Checks if the response is a JSON object.
parseResponse(String rawResponse) → dynamic
Parses the raw response and determines if it's a JSON object, JSON array, or raw string.