AdjustSessionFailure.fromMap constructor
AdjustSessionFailure.fromMap(
- dynamic map
Implementation
factory AdjustSessionFailure.fromMap(dynamic map) {
try {
return AdjustSessionFailure(
message: map['message'],
timestamp: map['timestamp'],
adid: map['adid'],
jsonResponse: map['jsonResponse'],
willRetry: map['willRetry']?.toString().toLowerCase() == 'true',
);
} catch (e) {
throw Exception(
'[AdjustFlutter]: Failed to create AdjustSessionFailure object from given map object. Details: ' +
e.toString());
}
}