toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final gutter = this.gutter;
  final margin = this.margin;
  return {
    if (gutter != null) 'Gutter': gutter,
    if (margin != null) 'Margin': margin,
  };
}