ResultDisplayMetadata.fromJson constructor

ResultDisplayMetadata.fromJson(
  1. Map json_
)

Implementation

ResultDisplayMetadata.fromJson(core.Map json_)
    : this(
        metalines: json_.containsKey('metalines')
            ? (json_['metalines'] as core.List)
                .map((value) => ResultDisplayLine.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        objectTypeLabel: json_.containsKey('objectTypeLabel')
            ? json_['objectTypeLabel'] as core.String
            : null,
      );