toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'frame': frame.toJson(),
    'resources': resources.map((e) => e.toJson()).toList(),
    if (childFrames != null)
      'childFrames': childFrames!.map((e) => e.toJson()).toList(),
  };
}