-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from eloiJhn/feature/add-board
Feature/add board
- Loading branch information
Showing
11 changed files
with
911 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "87151672734", | ||
"project_id": "trelltech-5a6ad", | ||
"storage_bucket": "trelltech-5a6ad.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:87151672734:android:42139890d5d5705fc42a8f", | ||
"android_client_info": { | ||
"package_name": "com.dev600.nan2.trelltech" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyCwW21JzPiNAG1Hfa6btTwE0muge-GbBVg" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "87151672734", | ||
"project_id": "trelltech-5a6ad", | ||
"storage_bucket": "trelltech-5a6ad.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:87151672734:android:caa5026e4ffad71dc42a8f", | ||
"android_client_info": { | ||
"package_name": "com.dev600.nan2.trelltech" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyCwW21JzPiNAG1Hfa6btTwE0muge-GbBVg" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"file_generated_by": "FlutterFire CLI", | ||
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory", | ||
"GOOGLE_APP_ID": "1:87151672734:ios:25efc20cf9c69ebac42a8f", | ||
"FIREBASE_PROJECT_ID": "trelltech-5a6ad", | ||
"GCM_SENDER_ID": "87151672734" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
class TrelloBoardTemplate { | ||
final String id; | ||
final String name; | ||
final String description; | ||
String? backgroundImage; | ||
String? backgroundColor; | ||
final int viewCount; | ||
final int copyCount; | ||
|
||
TrelloBoardTemplate({ | ||
required this.id, | ||
required this.name, | ||
required this.description, | ||
this.backgroundImage, | ||
this.backgroundColor, | ||
required this.viewCount, | ||
required this.copyCount, | ||
}); | ||
|
||
factory TrelloBoardTemplate.fromJson(Map<String, dynamic> json) { | ||
return TrelloBoardTemplate( | ||
id: json['id'], | ||
name: json['name'], | ||
description: json['desc'], | ||
backgroundImage: json['prefs']['backgroundImage'], | ||
backgroundColor: json['prefs']['backgroundColor'], | ||
viewCount: json['templateGallery']['stats']['viewCount'], | ||
copyCount: json['templateGallery']['stats']['copyCount'], | ||
); | ||
} | ||
} |
Oops, something went wrong.