Location.fromJson constructor

Location.fromJson(
  1. Map json_
)

Implementation

Location.fromJson(core.Map json_)
    : this(
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
        segmentId: json_.containsKey('segmentId')
            ? json_['segmentId'] as core.String
            : null,
      );