Scrabble class

Provide access to the Scrabble API.

Constructors

Scrabble()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

anagram(String word, {bool expand = false, bool sort = false, int minLength = 2}) Set<String>
Get all legal anagrams of a string, perhaps includng the wildcard '?'.
lookup(String word, {bool expand = false}) Set<String>
lookup legal words, perhaps includng the wildcard '?'.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
score(String word) int
Get the score for a word.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

scrabbleLetters → const String
scrabbleValues → const Map<String, int>