dynamic getData({ required String key, dynamic defaultValue, }) { return _data[key] ?? defaultValue; }