Integration.fromJson constructor

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

Implementation

Integration.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  email = json['email'];
  sms = json['sms'];
  invoicing = json['invoicing'] != null
      ? Invoicing.fromJson(json['invoicing'])
      : null;
  marketplace = json['marketplace'] != null
      ? Marketplace.fromJson(json['marketplace'])
      : null;
}