CrashLog.fromJson constructor

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

Implementation

factory CrashLog.fromJson(Map<String, dynamic> json) {
  return CrashLog(
      id: json['id'],
      url: json['url'],
      bugId: json['bugId'] ?? 'Default bugIg',
      createdAt: json['createdAt'] ?? 'Default createdAt');
}