ODataResult<T> class

Constructors

ODataResult({required String context, T? value, List<String> keys = const [], Map<String, String> properties = const {}, int? count, Map<String, dynamic>? raw})
const
ODataResult.mapped(Map<String, dynamic> data, ODataMap<T> map)
factory
ODataResult.raw(Map<String, dynamic> data)
factory

Properties

context String
final
count int?
final
hashCode int
The hash code for this object.
no setterinherited
keys List<String>
final
properties Map<String, String>
final
raw Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
final

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

isError(Map<String, dynamic> data) bool