toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (scaleX != null) 'scaleX': scaleX!,
      if (scaleY != null) 'scaleY': scaleY!,
      if (shearX != null) 'shearX': shearX!,
      if (shearY != null) 'shearY': shearY!,
      if (translateX != null) 'translateX': translateX!,
      if (translateY != null) 'translateY': translateY!,
      if (unit != null) 'unit': unit!,
    };