isInsertable method

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

Implementation

bool isInsertable(String key, value) {
  return key.isNotEmpty && value != null;
}