getDefinition method
Returns all properties of effect as a dictionary object
Implementation
@override
Map<String, dynamic> getDefinition() {
var kv = <String, dynamic>{};
kv['type'] = 'Take';
kv['channel'] = channel;
kv['pattern'] = pattern;
kv['maybe'] = maybe;
kv['result'] = result;
return kv;
}