Showing content from https://pub.dev/documentation/pocketbase/latest/pocketbase/RecordModel-class.html below:
RecordModel class - pocketbase library
RecordModel class
Response DTO of a single record model.
-
Implemented types
-
-
Annotations
-
Constructors
-
RecordModel.new([Map<String, dynamic>? data])
-
Properties
-
collectionId → String
-
no setter
-
collectionName → String
-
no setter
-
created → String
-
no setter
-
data ↔ Map<String, dynamic>
-
getter/setter pair
-
expand ↔ Map<String, List<RecordModel>>
-
getter/setter pair
-
hashCode → int
-
The hash code for this object.
no setterinherited
-
id ↔ String
-
getter/setter pair
-
runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updated → String
-
no setter
Methods
-
get<T>(String fieldNameOrPath, [T? defaultValue]) → T
-
Extracts a single model value by a dot-notation path and tries to cast it to the specified generic type.
-
getBoolValue(String fieldNameOrPath, [bool? defaultValue]) → bool
-
An alias for get<bool>().
-
getDataValue<T>(String fieldNameOrPath, [T? defaultValue]) → T
-
-
getDoubleValue(String fieldNameOrPath, [double? defaultValue]) → double
-
An alias for get<double>().
-
getIntValue(String fieldNameOrPath, [int? defaultValue]) → int
-
An alias for get<int>().
-
getListValue<T>(String fieldNameOrPath, [List<T>? defaultValue]) → List<T>
-
An alias for get<List<T>>().
-
getStringValue(String fieldNameOrPath, [String? defaultValue]) → String
-
An alias for get<String>().
-
noSuchMethod(Invocation invocation) → dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
set(String fieldName, dynamic value) → void
-
-
toJson() → Map<String, dynamic>
-
override
-
toString() → String
-
A string representation of this object.
override
Operators
-
operator ==(Object other) → bool
-
The equality operator.
inherited
Static Methods
-
fromJson(Map<String, dynamic> json) → RecordModel
-
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4