toJson method

  1. @visibleForTesting
Map<String, dynamic> toJson()

Implementation

@visibleForTesting
Map<String, dynamic> toJson() => {
      "left": left,
      "top": top,
      "right": right,
      "bottom": bottom,
    }.clearNulls();