DataProvider.fromJson constructor

DataProvider.fromJson(
  1. Map json_
)

Implementation

DataProvider.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        primaryContact: json_.containsKey('primaryContact')
            ? json_['primaryContact'] as core.String
            : null,
      );