checkHasProperty method

bool checkHasProperty({
  1. required CObject obj,
  2. required String key,
})

Determines if a CObject has a given property contained within.

Implementation

bool checkHasProperty({required CObject obj, required String key}) {
  return obj.containsKey(key);
}