copyWith method

Micromoment copyWith({
  1. String? identifier,
  2. Map<String, String>? textParameters,
  3. Map<String, double>? numericParameters,
  4. Map<String, Location>? locationParameters,
  5. Map<String, bool>? booleanParameters,
})

Implementation

Micromoment copyWith(
        {String? identifier,
        Map<String, String>? textParameters,
        Map<String, double>? numericParameters,
        Map<String, Location>? locationParameters,
        Map<String, bool>? booleanParameters}) =>
    Micromoment(
        identifier: identifier ?? this.identifier,
        textParameters: textParameters ?? this.textParameters,
        numericParameters: numericParameters ?? this.numericParameters,
        locationParameters: locationParameters ?? this.locationParameters,
        booleanParameters: booleanParameters ?? this.booleanParameters);