string static method
Implementation
static BcsType<String,dynamic> string([BcsTypeOptions<String, String>? options]) {
return stringLikeBcsType(
name: 'string',
toBytes: (value) => Uint8List.fromList(utf8.encode(value)),
fromBytes: (bytes) => utf8.decode(bytes),
validate: options?.validate,
);
}