toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'status': status,
      'data': data != null ? data!.toMap() : null,
    };