Logs.fromJson constructor

Logs.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Logs.fromJson(Map<String, dynamic> json) {
  return Logs(
    audit: json['audit'] as bool?,
    general: json['general'] as bool?,
  );
}