create static method
NetworkStatisticsEntry
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "networkStatisticsEntry",
- bool special_is_json_scheme_class = true,
- String special_return_type = "networkStatisticsEntry",
- NetworkStatisticsEntryFile? network_statistics_entry_file,
- NetworkStatisticsEntryCall? network_statistics_entry_call,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static NetworkStatisticsEntry create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "networkStatisticsEntry",
bool special_is_json_scheme_class = true,
String special_return_type = "networkStatisticsEntry",
NetworkStatisticsEntryFile? network_statistics_entry_file,
NetworkStatisticsEntryCall? network_statistics_entry_call,
}) {
// NetworkStatisticsEntry networkStatisticsEntry = NetworkStatisticsEntry({
final Map networkStatisticsEntry_data_create_json = {
"@type": special_type,
"@is_json_scheme_class": special_is_json_scheme_class,
"@return_type": special_return_type,
"network_statistics_entry_file": (network_statistics_entry_file != null) ? network_statistics_entry_file.toJson() : null,
"network_statistics_entry_call": (network_statistics_entry_call != null) ? network_statistics_entry_call.toJson() : null,
};
networkStatisticsEntry_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (networkStatisticsEntry_data_create_json.containsKey(key) == false) {
networkStatisticsEntry_data_create_json[key] = value;
}
});
}
return NetworkStatisticsEntry(networkStatisticsEntry_data_create_json);
}