fromMap static method

ExpressActivityLog? fromMap(
  1. Object? body
)

Implementation

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