getMetaArrays method
Retreives list of MessageMetaArray with given keys
Implementation
List<MessageMetaArray> getMetaArrays(List<String> keys) {
if (keys.isEmpty) {
logger.e('invalid keys');
throw InvalidParameterError();
}
final result = List<MessageMetaArray>.from(metaArrays ?? []);
result.removeWhere((e) => !keys.contains(e.key));
return result;
}