InstallFailureEvent.fromJson constructor

InstallFailureEvent.fromJson(
  1. Map json_
)

Implementation

InstallFailureEvent.fromJson(core.Map json_)
    : this(
        deviceId: json_.containsKey('deviceId')
            ? json_['deviceId'] as core.String
            : null,
        failureDetails: json_.containsKey('failureDetails')
            ? json_['failureDetails'] as core.String
            : null,
        failureReason: json_.containsKey('failureReason')
            ? json_['failureReason'] as core.String
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );