toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'layoutIndex': [...layoutIndex],
    'bounds': bounds.map((e) => e.toJson()).toList(),
    'start': [...start],
    'length': [...length],
  };
}