toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  var x = {
    'id': id,
    'width': width,
    'height': height,
    'xoffset': xoffset,
    'yoffset': yoffset,
    'xadvance': xadvance,
    'page': page,
    'channel': channel
  };
  return 'Character $x';
}