findByNameOrAlias method Null safety

  1. @override
Option? findByNameOrAlias(
  1. String name
)
override

Finds the option whose name or alias matches name, or null if no option has that name or alias.

Implementation

@override
Option? findByNameOrAlias(String name) => null;