toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "screen1": screen1.toMap(),
      "screen2": screen2.toMap(),
    };