toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
    "data": data == null ? null : List<dynamic>.from(data!.map((x) => x)),
    "skipped": skipped == null ? null : skipped,
    "timeTaken": timeTaken == null ? null : timeTaken,
    "name": name == null ? null : name,
    "key": key == null ? null : key,
};