fromStringOrNull

Attempts to parse a DiamondCommand instance from the given String, returning null if the given value did not contain a valid DiamondCommand value.

Return

A DiamondCommand value matching the given input, or null if the input did not match any DiamondCommand value.

Parameters

value

String to parse.