Store GitHubFile.content without newlines (if they exist)
This is much better for future decoding
MODIFY
lib/src/common.dart
lib/src/common.dart
library github.common;
import "dart:async";
-import "dart:convert" show BASE64, JSON, UTF8;
+import "dart:convert" show BASE64, JSON, UTF8, LineSplitter;
import "package:html/dom.dart" as html;
import "package:html/parser.dart" as html_parser;

MODIFY
lib/src/common/model/repos_contents.dart
lib/src/common/model/repos_contents.dart
@@ -58,7 +58,9 @@ class GitHubFile {
..size = input['size']
..name = input['name']
..path = input['path']
- ..content = input['content']
+ ..content = input['content'] == null
+ ? null
+ : LineSplitter.split(input['content']).join()
..sha = input['sha']
..gitUrl = input['git_url']
..htmlUrl = input['html_url']

Store GitHubFile.content without newlines (if they exist)

This is much better for future decoding