class GithubConfig { String branch; String customUrl; String path; String repo; String token; GithubConfig({this.branch, this.customUrl, this.path, this.repo, this.token}); GithubConfig.fromJson(Map json) { branch = json['branch']; customUrl = json['customUrl']; path = json['path']; repo = json['repo']; token = json['token']; } Map toJson() { final Map data = new Map(); data['branch'] = this.branch; data['customUrl'] = this.customUrl; data['path'] = this.path; data['repo'] = this.repo; data['token'] = this.token; return data; } }