fromJson method Null safety

AccountEvent fromJson(
  1. dynamic wrapped
)
override

Implementation

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