values method

Map<String, Object?> values()

the values that are set, by name

Implementation

Map<String, Object?> values() {
	Map<String, Object?> values = <String, Object?>{
		"logo": logo,
		"title": title,
		"description": description,
		"buttonText": buttonText,
		"githubUrl": githubUrl,
		"backgroundColor": backgroundColor,
		"titleColor": titleColor,
		"descriptionColor": descriptionColor,
		"buttonColor": buttonColor,
		"buttonTextColor": buttonTextColor,
		"githubIconColor": githubIconColor,
	};

	values.removeWhere((String name, Object? value) => null == value);
	return values;
}