fromJson static method

PhoneWithExtension fromJson(
  1. dynamic wrapped
)
override

Implementation

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