Skip to content

Instantly share code, notes, and snippets.

@HenriBeck
Created June 24, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HenriBeck/4f8ed3d59148f98a747cdd0d68557044 to your computer and use it in GitHub Desktop.
Save HenriBeck/4f8ed3d59148f98a747cdd0d68557044 to your computer and use it in GitHub Desktop.
abstract class State {}
class StateA implements State {}
final state = StateA();
void main() {
print(state is State);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment