AirtableRecord class
A class representing a record from an Airtable base.
Each AirtableRecord
consists of a unique id
and a fields
map
containing the data for each field in the record.
Constructors
-
AirtableRecord({required String id, required Map<
String, dynamic> fields}) -
Creates an instance of AirtableRecord with the given
id
andfields
. -
AirtableRecord.fromJson(Map<
String, dynamic> json) -
Creates an AirtableRecord instance from a JSON map.
factory
Properties
-
fields
↔ Map<
String, dynamic> -
A map of field names to their corresponding values.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
The unique identifier of the record in Airtable.
getter/setter pair
- 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 the AirtableRecord instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited