toMap method
Implementation
Map<String, dynamic> toMap() => {
'appId': appId,
'areaId': areaId,
'appVersion': appVersion,
'netType': (netType.index + 1).toString(),
'channel': channel,
'gaodeApiKey': gaodeApiKey,
'enableLog': enableLog,
'startType': startType,
};