getLog method

Future<LogDetailDto?> getLog(
  1. int? logId
)

Implementation

Future<LogDetailDto?> getLog (
  int? logId
) async {
  String path = "/log/$logId";
  return LogDetailDto.fromJson(
    await get(path, requireAuthorization:true) ?? {}
  );
}