pack method
Encodes input using schema and writes the result to buffer.
Implementation
void pack(
  final BorshSchema schema,
  final BufferWriter buffer,
  final Map<String, dynamic> input,
) => struct(schema).pack(buffer, input);Encodes input using schema and writes the result to buffer.
void pack(
  final BorshSchema schema,
  final BufferWriter buffer,
  final Map<String, dynamic> input,
) => struct(schema).pack(buffer, input);