getAllCodes static method

List<String> getAllCodes()

Get all error codes as a list

Implementation

static List<String> getAllCodes() {
  return OsmosErrorCodes.values.map((e) => e.code).toList();
}