compactString static method
Implementation
static Layout<String> compactString({String? property}) {
return CustomLayout<List<int>, String>(
layout: bytes(),
decoder: (bytes) => StringUtils.decode(bytes),
encoder: (src) => StringUtils.encode(src),
property: property);
}