checkKeyFromJson static method

bool checkKeyFromJson(
  1. dynamic json,
  2. String key
)

Implementation

static bool checkKeyFromJson(json, String key) => json.isNotEmpty &&
    json.containsKey(key) && json[key] != null;