ConsumerInfo.fromJson constructor

ConsumerInfo.fromJson(
  1. Map json_
)

Implementation

ConsumerInfo.fromJson(core.Map json_)
    : this(
        consumerNumber: json_.containsKey('consumerNumber')
            ? json_['consumerNumber'] as core.String
            : null,
        projectNumber: json_.containsKey('projectNumber')
            ? json_['projectNumber'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );