CallLogEntry.fromMap constructor

CallLogEntry.fromMap(
  1. Map m
)

constructor creating object from provided map

Implementation

CallLogEntry.fromMap(Map<dynamic, dynamic> m) {
  name = m['name'];
  number = m['number'];
  formattedNumber = m['formattedNumber'];
  callType = getCallType(m['callType']);
  duration = m['duration'];
  timestamp = m['timestamp'];
  cachedNumberType = m['cachedNumberType'];
  cachedNumberLabel = m['cachedNumberLabel'];
  cachedMatchedNumber = m['cachedMatchedNumber'];
  simDisplayName = m['simDisplayName'];
  phoneAccountId = m['phoneAccountId'];
}