EnvironmentMember.fromJson constructor

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

Implementation

factory EnvironmentMember.fromJson(Map<String, dynamic> json) {
  return EnvironmentMember(
    environmentId: json['environmentId'] as String?,
    lastAccess: timeStampFromJson(json['lastAccess']),
    permissions: (json['permissions'] as String?)?.toPermissions(),
    userArn: json['userArn'] as String?,
    userId: json['userId'] as String?,
  );
}