canSave static method

bool canSave(
  1. dynamic value
)

Implementation

static bool canSave(dynamic value) {
  if (value == null) {
    return true;
  }
  bool ret = false;
  if (value is String ||
      value is Int ||
      value is double ||
      value is bool ||
      value is List ||
      value is Map<String, dynamic>) {
    ret = true;
  }
  return ret;
}