Principal.fromJson constructor

Principal.fromJson(
  1. Map json_
)

Implementation

Principal.fromJson(core.Map json_)
    : this(
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        user: json_.containsKey('user') ? json_['user'] as core.String : null,
      );