UsageReportEntity.fromJson constructor

UsageReportEntity.fromJson(
  1. Map json_
)

Implementation

UsageReportEntity.fromJson(core.Map json_)
    : this(
        customerId: json_.containsKey('customerId')
            ? json_['customerId'] as core.String
            : null,
        entityId: json_.containsKey('entityId')
            ? json_['entityId'] as core.String
            : null,
        profileId: json_.containsKey('profileId')
            ? json_['profileId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        userEmail: json_.containsKey('userEmail')
            ? json_['userEmail'] as core.String
            : null,
      );