IdCaptureError.fromJSON(Map<String, dynamic> json) : this._(json["type"] as String, json["message"] as String);