rustString static method

dynamic rustString([
  1. String? property
])

Rust String values.

Implementation

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