copy method Null safety

  1. @protected
dynamic copy()

Creates a copy of this class

Implementation

@protected
dynamic copy() => fromJson(toJson());