printToConsole method

void printToConsole()

Prints the Schema to the console.

Implementation

void printToConsole() {
  print('Schema DID: $did');
  print('Fields:');
  for (SchemaField f in fields) {
    print('└─ ${f.name}  =  (${f.fieldKind.kind})');
  }
}