rt_thickness.dart 471 B

12345678910111213141516171819202122232425
  1. class RTThickness {
  2. double? left;
  3. double? top;
  4. double? right;
  5. double? bottom;
  6. RTThickness.uniform(double uniformLength) {
  7. left = uniformLength;
  8. top = uniformLength;
  9. right = uniformLength;
  10. bottom = uniformLength;
  11. }
  12. RTThickness.fromJson(Map<String, dynamic> json) {
  13. left = json['Left'];
  14. top = json['Top'];
  15. right = json['Right'];
  16. bottom = json['Bottom'];
  17. }
  18. RTThickness(this.left, this.top, this.right, this.bottom);
  19. }