getNested method

IsarObject? getNested(
  1. String propertyName, {
  2. String? linkCollection,
})

Implementation

IsarObject? getNested(String propertyName, {String? linkCollection}) {
  final data = this.data[propertyName] as Map<String, dynamic>?;
  if (data != null) {
    return IsarObject(data);
  } else {
    return null;
  }
}