factory ProjectStatus.fromJson(Map<String, dynamic> json) { return ProjectStatus( state: json['state'] as String, reason: json['reason'] as String?, ); }