ServiceAccount.fromJsonString constructor

ServiceAccount.fromJsonString(
  1. String json
)

Load a service account from a JSON string.

The string is jsonDecoded before handed to the ServiceAccount.fromJson constructor.

Implementation

ServiceAccount.fromJsonString(String json) : this.fromJson(jsonDecode(json));