fromJson method Null safety

EmbeddedProperty fromJson(
  1. dynamic wrapped
)
override

Implementation

static EmbeddedProperty fromJson(wrapped) => wrapped is EmbeddedProperty
  ? wrapped
  : EmbeddedProperty(wrapped as Map<String, dynamic>, update: true);