ResultLabels.fromJson constructor

ResultLabels.fromJson(
  1. Map json_
)

Implementation

ResultLabels.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        labelWithOp: json_.containsKey('label_with_op')
            ? json_['label_with_op'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );