Grant.fromXml constructor

Grant.fromXml(
  1. XmlElement? xml
)

Implementation

Grant.fromXml(XmlElement? xml) {
  grantee = Grantee.fromXml(getProp(xml, 'Grantee'));
  permission = getProp(xml, 'Permission')?.text;
}