findByKey method

SchemaDto? findByKey(
  1. String targetKey
)

Implementation

SchemaDto? findByKey(String targetKey) {
  if (key == targetKey) {
    return this;
  }
  return null;
}