array static method
Implementation
static CustomLayout array(Layout elementLayout, int length,
{String? property}) {
final layout = struct([
seq(elementLayout, ConstantLayout(length), property: 'values'),
]);
return CustomLayout<Map<String, dynamic>, dynamic>(
layout: layout,
decoder: (data) => data['values'],
encoder: (values) => {'values': values},
property: property,
);
}