toJson method

Map<String, dynamic> toJson()

Converts this PaddingConfig to a JSON map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'horizontal': horizontal,
    'vertical': vertical,
  };
}