toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() => super.toJson()
  ..addAll({
    'phantomChild': phantomChild.toJson(),
    if (zeroWidth != false) 'zeroWidth': zeroWidth,
    if (zeroHeight != false) 'zeroHeight': zeroHeight,
  });