Airtable class
Constructors
-
Airtable({required String apiKey, required String projectBase, String apiUrl = _defaultAirtableApiUrl, Client? client})
-
Methods
-
createRecord(String recordName, AirtableRecord record, {bool typecast = false})
→ Future<AirtableRecord?>
-
Creates a new AirtableRecord in Airtable based on a given AirtableRecord
-
createRecords(String recordName, List<AirtableRecord> records, {bool typecast = false})
→ Future<List<AirtableRecord>>
-
Creates multiple records in Airtable using a list of AirtableRecord instances
-
deleteRecords(String recordName, List<AirtableRecord> records)
→ Future<List<String?>>
-
Deletes a list of AirtableRecords
-
getAllRecords(String recordName, {int? maxRecords, int? pageSize})
→ Future<List<AirtableRecord>>
-
Gets a List of AirtableRecords from Airtable based on the record name
-
getRecord(String recordName, String recordId)
→ Future<AirtableRecord?>
-
Gets a single record based on the record name and ID from Airtable
-
getRecordsFilterByFormula(String recordName, String filter)
→ Future<List<AirtableRecord>?>
-
Get records based on the filtering formula supplied as defined by Airtable API
-
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 recordName, AirtableRecord record, {bool typecast = false})
→ Future<AirtableRecord?>
-
Updates a single AirtableRecord
-
updateRecords(String recordName, List<AirtableRecord> records, {bool typecast = false})
→ Future<List<AirtableRecord>>
-
Returns a list of updated AirtableRecords