Role.fromJson constructor

Role.fromJson(
  1. String str
)

Implementation

factory Role.fromJson(String str) => Role.fromMap(
      json.decode(str) as Map<String, dynamic>,
    );