LogList.fromMap constructor

LogList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory LogList.fromMap(Map<String, dynamic> map) {
  return LogList(
    total: map['total'],
    logs: List<Log>.from(map['logs'].map((p) => Log.fromMap(p))),
  );
}