Range.fromJson constructor

Range.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Range.fromJson(Map<String, Object?> json) => Range(
  Position.fromJson(json['start'] as Map<String, Object?>),
  Position.fromJson(json['end'] as Map<String, Object?>),
);