toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bottomPixels != null) 'bottomPixels': bottomPixels!,
      if (leftPixels != null) 'leftPixels': leftPixels!,
      if (rightPixels != null) 'rightPixels': rightPixels!,
      if (topPixels != null) 'topPixels': topPixels!,
    };