toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (angle != null) 'angle': angle!,
      if (offsetBottom != null) 'offsetBottom': offsetBottom!,
      if (offsetLeft != null) 'offsetLeft': offsetLeft!,
      if (offsetRight != null) 'offsetRight': offsetRight!,
      if (offsetTop != null) 'offsetTop': offsetTop!,
    };