@override Map<String, dynamic> toMap() { return {'success': success.toMap(), 'failure': failure.toMap()}; }