ShortCustomerInfo.fromJson constructor

ShortCustomerInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ShortCustomerInfo.fromJson(Map<String, dynamic> json)
    : customerId = CustomerId.fromJson(json['customerId']),
      title = json['title'],
      isPublic = json['isPublic'] ?? false;