GetPropByEnum method

EFProperty<T> GetPropByEnum(
  1. PropertyEnum prop
)

To Get Prop By Enum

Implementation

EFProperty<T> GetPropByEnum(PropertyEnum prop) {
  return properties!.firstWhere(
      (element) => element.name == prop.name && element.type == prop.type);
}