call method

String call(
  1. Object msg
)

Treat a pen instance as a function such that pen('msg') is the same as pen.write('msg').

Implementation

String call(Object msg) => write(msg);