isMap function

bool isMap(
  1. dynamic fieldValue
)

Implementation

bool isMap(dynamic fieldValue) {
  bool containKeys = false;
  try {
    containKeys = fieldValue is Map<String, dynamic>;
  } on TypeError {
    containKeys = false;
  }
  return containKeys;
}