copyWith method

Geometry copyWith({
  1. List<List<num>>? coordinates,
  2. String? type,
})

Implementation

Geometry copyWith({
  List<List<num>>? coordinates,
  String? type,
}) =>
    Geometry(
      coordinates: coordinates ?? this.coordinates,
      type: type ?? this.type,
    );