Data.from constructor

Data.from(
  1. Data other
)

Shallow copy

Implementation

factory Data.from(Data other) => Data(
    notifier: other.notifier,
    environment: other.environment,
    client: other.client,
    platform: other.platform,
    language: other.language,
    framework: other.framework,
    codeVersion: other.codeVersion,
    level: other.level,
    timestamp: other.timestamp,
    body: other.body,
    user: other.user,
    custom: other.custom,
    platformPayload: other.platformPayload,
    server: other.server);