ErrorMessageConfig constructor

const ErrorMessageConfig({
  1. String serverUnreachable = 'Server unreachable',
  2. String maintenance = 'Server maintenance - try again later',
  3. String connectionTimeout = 'Server connection timed out - check your connection',
  4. String connectionError = 'Failed to connect to server - check your connection',
  5. String offline = 'You seem to be offline',
  6. String serverFault = 'Server fault - work in progress',
})

Implementation

const ErrorMessageConfig({
  this.serverUnreachable = 'Server unreachable',
  this.maintenance = 'Server maintenance - try again later',
  this.connectionTimeout =
      'Server connection timed out - check your connection',
  this.connectionError =
      'Failed to connect to server - check your connection',
  this.offline = 'You seem to be offline',
  this.serverFault = 'Server fault - work in progress',
});