allows method Null safety

  1. @override
bool allows(
  1. Version other
)
override

Tests if other matches this version exactly.

Implementation

@override
bool allows(Version other) => this == other;