fromMap static method

TimesheetsActivityLog? fromMap(
  1. Object? body
)

Implementation

static TimesheetsActivityLog? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return TimesheetsActivityLog(
    activity: readText(source['activity']),
  );
}