EcoCertification.fromJson constructor

EcoCertification.fromJson(
  1. Map json_
)

Implementation

EcoCertification.fromJson(core.Map json_)
    : this(
        awarded: json_.containsKey('awarded')
            ? json_['awarded'] as core.bool
            : null,
        awardedException: json_.containsKey('awardedException')
            ? json_['awardedException'] as core.String
            : null,
        ecoCertificate: json_.containsKey('ecoCertificate')
            ? json_['ecoCertificate'] as core.String
            : null,
      );