encode static method

String encode(
  1. int index
)

Implementation

static String encode(int index) {
  return base64Encode(utf8.encode('index:$index'));
}