factory ErrorInfo.fromJson(Map<String, dynamic> json) { return ErrorInfo( errorCode: json['errorCode'] as String?, errorString: json['errorString'] as String?, ); }