toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "values": values == null
          ? []
          : List<dynamic>.from(
              values!.map((x) => List<dynamic>.from(x.map((x) => x)))),
      "summary": summary == null
          ? []
          : List<dynamic>.from(summary!.map((x) => x.toMap())),
    };