toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of Padding.

Implementation

Map<String, dynamic> toJson() {
  return {'Left': left, 'Right': right, 'Top': top, 'Bottom': bottom};
}