AirtableCrud class

A class that provides CRUD operations for Airtable.

This class includes methods to fetch, create, update, and delete records in an Airtable base. It also supports bulk creation of records.

Constructors

AirtableCrud(String apiKey, String baseId)
Constructs an instance of AirtableCrud with the given apiKey and baseId.

Properties

apiKey String
The API key for accessing the Airtable API.
final
baseId String
The Base ID of your Airtable base.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createBulkRecords(String tableName, List<Map<String, dynamic>> dataList) Future<List<AirtableRecord>>
Creates multiple records in bulk in the specified tableName.
createRecord(String tableName, Map<String, dynamic> data) Future<AirtableRecord>
Creates a new record in the specified tableName.
deleteRecord(String tableName, String id) Future<void>
Deletes a record from the specified tableName.
fetchRecords(String tableName, {bool paginate = true, String view = 'Grid view'}) Future<List<AirtableRecord>>
Fetches records from the specified tableName.
fetchRecordsWithFilter(String tableName, String filterByFormula, {bool paginate = true, String view = 'Grid view'}) Future<List<AirtableRecord>>
Fetches records from the specified tableName using a filter formula.
fetchRecordsWithQueryBuilder(String tableName, AirtableQueryCrud queryBuilder, {bool paginate = true, String view = 'Grid view'}) Future<List<AirtableRecord>>
Fetches records using the query builder.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateRecord(String tableName, AirtableRecord record) Future<void>
Updates an existing record in the specified tableName.

Operators

operator ==(Object other) bool
The equality operator.
inherited