RegisterInfo.from constructor

RegisterInfo.from(
  1. Map<String, dynamic> data
)

Implementation

RegisterInfo.from(Map<String, dynamic> data)
    : role = data['role'] ?? '',
      passwd = data['passwd'] ?? '',
      userId = data['userId'] ?? '',
      r = data['r'];