isInsertable method

bool isInsertable(
  1. String key,
  2. dynamic value
)
inherited

Checks if a field is insertable (valid key and non-null value)

Implementation

bool isInsertable(String key, dynamic value) {
  return this.key.keys.contains(key) && value != null;
}