toStringShort method

  1. @override
String toStringShort()
override

A brief description of this object, usually just the runtimeType and the hashCode.

See also:

  • toString, for a detailed description of the object.

Implementation

@override
String toStringShort() {
  final StringBuffer s =
      StringBuffer('${objectRuntimeType(this, 'WxLinearBorderSide')}(');
  if (size != 1.0) {
    s.write('size: $size');
  }
  if (alignment != 0) {
    final String comma = size != 1.0 ? ', ' : '';
    s.write('${comma}alignment: $alignment');
  }
  s.write(')');
  return s.toString();
}