Social.fromJson constructor

Social.fromJson(
  1. Map json
)

Implementation

Social.fromJson(Map<dynamic, dynamic> json)
    : active = json['active'],
      authorizationUrl = json['authorizationUrl'],
      clientId = json['clientId'],
      customised = json['customised'],
      redirectUrl = json['redirectUrl'],
      type = json['type'] {
  socialType = setSocialType(type);
}