findCustomObject method

ValueDef? findCustomObject(
  1. ValueDef def
)

Implementation

ValueDef? findCustomObject(ValueDef def) {
  var find = _allCustomObject.firstWhereOrNull(
    (element) => def.isStructSame(element),
  );
  return find;
}