getMetaArrays method
Returns MessageMetaArray
list which is filtered by given metaArrayKeys.
Implementation
List<MessageMetaArray> getMetaArrays(List<String> keys) {
sbLog.i(StackTrace.current, 'keys: $keys');
if (keys.isEmpty) {
throw InvalidParameterException();
}
final result = List<MessageMetaArray>.from(allMetaArrays ?? []);
result.removeWhere((e) => !keys.contains(e.key));
return result;
}