ByType constructor Null safety

const ByType(
  1. String type
)

Creates a finder given the runtime type in string form.

Implementation

const ByType(this.type);