LogView.fromJson constructor

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

Implementation

factory LogView.fromJson(Map<String, dynamic> json) {
  return LogView(
    name: json['name'] ?? '',
    description: json['description'] ?? '',
    createTime: decodeCustom(json['createTime'], Timestamp.fromJson),
    updateTime: decodeCustom(json['updateTime'], Timestamp.fromJson),
    filter: json['filter'] ?? '',
  );
}