toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bottom != null) 'bottom': bottom!,
  if (left != null) 'left': left!,
  if (right != null) 'right': right!,
  if (top != null) 'top': top!,
};