AdjustSessionSuccess.fromMap constructor

AdjustSessionSuccess.fromMap(
  1. dynamic map
)

Implementation

factory AdjustSessionSuccess.fromMap(dynamic map) {
  try {
    return AdjustSessionSuccess(
      message: map['message'],
      timestamp: map['timestamp'],
      adid: map['adid'],
      jsonResponse: map['jsonResponse'],
    );
  } catch (e) {
    throw Exception(
        '[AdjustFlutter]: Failed to create AdjustSessionSuccess object from given map object. Details: ' +
            e.toString());
  }
}