CallKeepCallData.fromMap constructor
Implementation
factory CallKeepCallData.fromMap(Map<String, dynamic> map) {
return CallKeepCallData(
uuid: map['id'] ?? '',
callerName: map['callerName'],
handle: map['handle'],
hasVideo: map['hasVideo'] ?? false,
duration: map['duration']?.toDouble() ?? 180.0,
isAccepted: map['isAccepted'] ?? false,
extra: (map['extra'] as Map?)?.cast<String, dynamic>() ?? {},
);
}