Option<Map<String, dynamic>> toProto3Json() { if (_assigned) { return some({'value': getProtoValue()}); } else { return none(); } }