printer method

void printer()

Implementation

void printer(){
  print("name:$name | age:$age");
}