LogManagementResponse class

Implementers
Annotations
  • @freezed

Constructors

LogManagementResponse.clearLogs(String status, int timestamp)
const
factory
LogManagementResponse.fromJson(Map<String, dynamic> json)
factory
LogManagementResponse.getLogs(List<Map<String, dynamic>> logs, int timestamp)
const
factory
LogManagementResponse.setLogPriority(String status, int timestamp)
const
factory

Properties

copyWith → $LogManagementResponseCopyWith<LogManagementResponse>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
no setterinherited

Methods

map<TResult extends Object?>({required TResult setLogPriority(SetLogPriorityResponse value), required TResult getLogs(GetLogsResponse value), required TResult clearLogs(ClearLogsResponse value)}) → TResult
inherited
maybeMap<TResult extends Object?>({TResult setLogPriority(SetLogPriorityResponse value)?, TResult getLogs(GetLogsResponse value)?, TResult clearLogs(ClearLogsResponse value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult setLogPriority(String status, int timestamp)?, TResult getLogs(List<Map<String, dynamic>> logs, int timestamp)?, TResult clearLogs(String status, int timestamp)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult setLogPriority(String status, int timestamp), required TResult getLogs(List<Map<String, dynamic>> logs, int timestamp), required TResult clearLogs(String status, int timestamp)}) → TResult
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited