getInstruction static method
Implementation
static MetaplexGumdropProgramInstruction? getInstruction(dynamic value) {
try {
return values.firstWhere(
(element) => BytesUtils.bytesEqual(element.insturction, value));
} on StateError {
return null;
}
}