CopyLogEntriesResponse.fromJson constructor

CopyLogEntriesResponse.fromJson(
  1. Object? j
)

Implementation

factory CopyLogEntriesResponse.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return CopyLogEntriesResponse(
    logEntriesCopiedCount: switch (json['logEntriesCopiedCount']) {
      null => 0,
      Object $1 => decodeInt64($1),
    },
  );
}