Model.fromJson constructor

const Model.fromJson([
  1. Map<String, dynamic>? otherData
])

Implementation

const Model.fromJson([
  Map<String, dynamic>? otherData,
]) : _data = otherData ?? const {};