string static method

CustomLayout string({
  1. String? property,
})

String values

Implementation

static CustomLayout string({String? property}) {
  return CustomLayout(
      layout: vecU8(),
      decoder: (bytes) => StringUtils.decode(bytes as List<int>),
      encoder: (src) => StringUtils.encode(src as String),
      property: property);
}