ServerFailure constructor

const ServerFailure({
  1. required String error,
})

Implementation

const ServerFailure({required this.error});