FitModelableExtension extension

Extension of the List<Modelable> type.

on

Methods

replace(Modelable model, {bool addIfMissing = true}) bool

Available on List<Modelable>, provided by the FitModelableExtension extension

Replace the first Modelable in a list that has the same id as model. model is inserted at the same index than the previous element.