ObjectDisplayOptions.fromJson constructor

ObjectDisplayOptions.fromJson(
  1. Map json_
)

Implementation

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