toJson method
Implementation
@override
Map<String, Object?> toJson() => {
'type': 'helloAck',
'connectionId': connectionId,
'platformVersion': platformVersion,
'configVersion': configVersion.toJson(),
if (endUserId != null) 'endUserId': endUserId,
'serverTime': serverTime,
'frameTypes': frameTypes,
'limits': limits.toJson(),
'resume': resume.map((item) => item.toJson()).toList(),
};