ProductApprovalEvent.fromJson constructor

ProductApprovalEvent.fromJson(
  1. Map json_
)

Implementation

ProductApprovalEvent.fromJson(core.Map json_)
    : this(
        approved: json_.containsKey('approved')
            ? json_['approved'] as core.String
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
      );